Spread WinForms 15
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / ListBase<T> Class / CopyTo Method / CopyTo(T[]) Method
The one-dimensional System.Array that is the destination of the elements copied from ListBase<T>. The System.Array must have zero-based indexing.


In This Topic
CopyTo(T[]) Method
In This Topic
Copies the entire ListBase<T> to a compatible one-dimensional array, starting at the beginning of the target array.
Syntax
'Declaration
 
Public Overloads Sub CopyTo( _
   ByVal array() As T _
) 
 
'Usage
 
Dim instance As ListBase(Of T)
Dim array() As T
 
instance.CopyTo(array)

Parameters

array
The one-dimensional System.Array that is the destination of the elements copied from ListBase<T>. The System.Array must have zero-based indexing.
See Also